package labs.fourth;

public class ErrorReport {
	private String _detailedErrorMessage;
	private int _errorLineNumber;
	private int _errorColumnNumber;
	private boolean _isValidProgram;
	private String _inputFileName;

	public boolean isValid() {
		return _isValidProgram;
	}

	public String getErrorMessage() {
		return _detailedErrorMessage;
	}

	public int getErrorLineNumber() {
		return _errorLineNumber;
	}

	public int getErrorColumnNumber() {
		return _errorColumnNumber;
	}

	public String getFileName() {
		return _inputFileName;
	}

	/**
	 * @param detailedErrorMessage
	 *            the detailedErrorMessage to set
	 */
	public void setErrorMessage(String detailedErrorMessage) {
		_detailedErrorMessage = detailedErrorMessage;
	}

	/**
	 * @param errorLineNumber
	 *            the errorLineNumber to set
	 */
	public void setErrorLineNumber(int errorLineNumber) {
		_errorLineNumber = errorLineNumber;
	}

	/**
	 * @param errorColumnNumber
	 *            the errorColumnNumber to set
	 */
	public void setErrorColumnNumber(int errorColumnNumber) {
		_errorColumnNumber = errorColumnNumber;
	}

	/**
	 * @param isValidProgram
	 *            the isValidProgram to set
	 */
	public void setValidProgram(boolean isValidProgram) {
		_isValidProgram = isValidProgram;
	}

	/**
	 * @param inputFileName
	 *            the inputFileName to set
	 */
	public void setInputFileName(String inputFileName) {
		_inputFileName = inputFileName;
	}
}
